import { StyleSheet, Text, View } from 'react-native'
import React from 'react'

const TitleBox = (props) => {
    return (
        <View style={{ width: '100%', marginBottom: 25 }}>
            <Text style={styles.title}>{props.title || ''}</Text>
            <Text style={styles.label}>{props.label || ''}</Text>
        </View>
    )
}

export default TitleBox

const styles = StyleSheet.create({
    title: {
        fontSize: 14,
        color: '#000000',
        marginBottom: 5
    },
    label: {
        fontSize: 12,
        color: 'gray'
    }
})